Ext.define('Demo.model.sale.saleOutStorageDetailModel',{
	extend: 'Ext.data.Model',//继承Model组件
	alias: 'widget.saleOutStorageDetailModel',//别名
	fields: [
	         {name: 'billNo', type: 'string'},			//单据号码
	         {name: 'lineId', type: 'int'},				//栏号
	         //物料编号
	         {name: 'quantity', type: 'int'},			//数量
	         {name: 'oldPrice', type: 'double'},		//折扣前单价
	         {name: 'discount', type: 'double'},		//折数
	         {name: 'unitPrice', type: 'double'},		//单价
	         {name: 'amount', type: 'double'},			//金额
	         {name: 'taxRate', type: 'double'},			//税率
	         {name: 'tax', type: 'double'},				//税额
	         {name: 'taxAmount', type: 'double'},		//含税金额
	         {name: 'itemRemark', type: 'string'},		//分录备注
	         {name: 'isGift', type: 'int'},				//赠品(1)是,(0)否
	         {name: 'sourceType', type: 'int'},			//来源单别(1)销售报价,(2)销售订单
	         {name: 'sourceOrder', type: 'string'}		//来源单号
	]
});